Q111: What would be the issue with the following code?

// SPDX-License-Identifier: SOME IDENTIFIER

pragma solidity ^0.8.10;

contract ServerContract {

function callMe() public pure returns(uint) {

return 5;

}

}

contract ClientContract {

function invokeCallMe() public returns(bool) {

ServerContract a = new ServerContract();

ServerContract b = new ServerContract();

return a == b;

}

}

A. No issues at all. The code would compile and run.

B. Compilation error as there is an issue with the way we

compare

C. Code can’t be deployed as the first contract can’t be

instantiated twice

D. None of these

Q112: After running the destroyContract function, if you run the

calculate function, what would be the output?

// SPDX-License-Identifier: SOME IDENTIFIER

pragma solidity ^0.8.10;

contract SelfDestructContract {

address payable owner;

constructor() {

owner = msg.sender;

}